package com.aisile.admin;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


// 启动类
@SpringBootApplication  //自动装配
@MapperScan("com.aisile.admin.mapper") //扫描mapper包路径
@Slf4j //控制台打印日志
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class,args);
        log.info("微服务启动了!!!!!!");
    }
}
